﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gao.Poker.Domain
{
    public class ConsumptionProduct
    {
        [Key]
        public int ID { get; set; }

        public int ConsumptionID { get; set; }

        [StringLength(50)]
        public String BarCode { get; set; }
        [StringLength(30)]
        public String ProductName { get; set; }

        public Decimal Discount { get; set; }
        /// <summary>
        /// 此处指积分
        /// </summary>
        public Decimal Price { get; set; }
        /// <summary>
        /// 购买数量
        /// </summary>
        public int Number { get; set; }
    }
}
